package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商品评论统计VO
 */
@Data
@ApiModel(value = "商品评论统计VO", description = "商品评论统计视图对象")
public class CommentStatisticsVO {
    
    @ApiModelProperty("总评论数")
    private Long totalCount;
    
    @ApiModelProperty("平均评分")
    private Double averageRating;
    
    @ApiModelProperty("好评数")
    private Long positiveCount;
    
    @ApiModelProperty("差评数")
    private Long negativeCount;
    
    @ApiModelProperty("好评率")
    private Double positiveRate;
    
    @ApiModelProperty("差评率")
    private Double negativeRate;
} 